<template>
  <div>vue3</div>
</template>

<script>
export default {
  data () {
    return {
      msg: 'hi vue3'
    }
  },
  beforeCreate () {
    console.log('beforeCreate', this, this.msg)
  },
  created () {
    console.log('created', this, this.msg)
  },
  // vue3 组合式api代码入口
  setup () {
    console.log('setup', this)
  }
}
</script>

<style lang="scss" scoped>
</style>
